﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using AppWPF.Views.Pacientes;
using AppWPF.Views.Sala;

namespace AppWPF.Views
{
    /// <summary>
    /// Lógica de interacción para Menu.xaml
    /// </summary>
    public partial class Menu : Window
    {
        Login l = new Login();
        public Menu()
        {
            
            InitializeComponent();
            this.Loaded += Menu_Loaded;    
        }

        void Menu_Loaded(object sender, RoutedEventArgs e)
        {
 
        }

        private void cS_Click(object sender, RoutedEventArgs e)
        {
            Login lg = new Login();
            lg.Show();
            this.Close();
        }

        private void lP_Click(object sender, RoutedEventArgs e)
        {
            MainWindow main = new MainWindow();
            main.ShowDialog();
        }

        private void iP_Click(object sender, RoutedEventArgs e)
        {
            IngresarPaciente ip = new IngresarPaciente();
            ip.ShowDialog();
        }

        private void lS_Click(object sender, RoutedEventArgs e)
        {
            VistaSalas vs = new VistaSalas();
            vs.ShowDialog();
        }

        private void nS_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}
